/*
* @Author: wanghongfucoder
* @Date:   2017-04-05 16:10:40
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-05 16:13:19
*/

public class CoarseGrainedObject {
	
	DependentObject1 do1=new DependentObject1();
	DenendentObject2 do2=new DenendentObject2();

	public void setData(String data1,String data2){
		do1.setData(data1);
		do2.setData(data2);
	}

	public String[] getData(){
		return new String[]{do1.getData(),do2.getData()};
	}
}